package com.example.vo.respvo.meeting;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 会议模型类
 *
 * @author wsl
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "会议模型类")
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.ALWAYS)
public class MeetingVo {

    @ApiModelProperty("会议创建人")
    private String host;

    @ApiModelProperty("会议主题")
    private String topic;

    @ApiModelProperty("地点")
    private String place;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Shanghai")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "Asia/Shanghai")
    private LocalDateTime endTime;

    @ApiModelProperty("任务编号")
    private String taskId;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("流程实例编号")
    private String processInstanceId;
}
